package org.example.backend.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class AnimalDTO {
    private Long id;
    
    @NotBlank(message = "动物名称不能为空")
    private String name;
    
    @NotNull(message = "动物分类不能为空")
    private Long categoryId;
    
    private String description;
    private String imageUrl;
    private Double locationX;
    private Double locationY;
} 